package com.lihao.sam.controller;

import com.lihao.sam.service.intf.HealthStatisticsService;
import com.lihao.sam.vo.PageVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author 赵申奥
 * @Description:卫生检查统计
 */
@RestController
@RequestMapping("/api/health/")
public class HealthStatisticsController {
    @Resource
    private HealthStatisticsService service;
    @GetMapping("page.do")
    public PageVo page(String address, String buildNo, String floorNo, int page, int limit){
        return service.queryPage(address,buildNo,floorNo,page, limit);
    }
}
